#! /usr/bin/python

def main():
    index = 1
    n = 3
    d = 2
    count = 0
    while index < 1000:
        print str(n) + '/' + str(d)
        if len(str(n)) > len(str(d)):
            count += 1
        
        d,n = d+n, d+d+n
        index += 1
    print count
    
if __name__ == '__main__':
    main()
